home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
util
/
text
/
words3.lha
/
Words
/
WarpSPELL
/
auto.ged
next >
Wrap
Text File
|
1995-06-29
|
1KB
|
38 lines
/* $VER: AutoConfig macro */
OPTIONS RESULTS /* enable return codes */
if (LEFT(ADDRESS(), 6) ~= "GOLDED") then /* not started by GoldEd ? */
address 'GOLDED.1'
'LOCK CURRENT' /* lock GUI, gain access */
OPTIONS FAILAT 6 /* ignore warnings */
SIGNAL ON SYNTAX /* ensure clean exit */
/* ------------------------ INSERT YOUR CODE HERE: ------------------- */
'REQUEST BODY="A new syntax parser has been installed.|Do you want to use this parser ?" BUTTON="_USE|no"'
if (RESULT = 1) then do
'SYNTAX LOAD CONFIG="GOLDED:presets/warpSPELL.syn" USE=TRUE'
'REQUEST HIDE=FALSE BODY="GoldED''s preferences have been changed.|Save new configuration ?" BUTTON="_SAVE|no"'
if (RESULT = 1) then
'PREFS SAVE'
'SYNTAX ASK'
end
/* ---------------------------- END OF YOUR CODE --------------------- */
'UNLOCK' /* VERY important: unlock GUI */
EXIT
SYNTAX:
SAY "Sorry, error line" SIGL ":" ERRORTEXT(RC) ":-("
'UNLOCK'
EXIT